package org.jeecg.modules.xl.aftersale.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.xl.aftersale.entity.XlCustomerAftersaleDetail;
import org.jeecg.modules.xl.aftersale.mapper.XlCustomerAftersaleDetailMapper;
import org.jeecg.modules.xl.aftersale.service.IXlCustomerAftersaleDetailService;
import org.jeecg.modules.xl.exceltemplate.vo.AfterOrderImportVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: 售后单明细
 * @Author: jeecg-boot
 * @Date:   2024-11-03
 * @Version: V1.0
 */
@Service
public class XlCustomerAftersaleDetailServiceImpl extends ServiceImpl<XlCustomerAftersaleDetailMapper, XlCustomerAftersaleDetail> implements IXlCustomerAftersaleDetailService {
	
	@Resource
	private XlCustomerAftersaleDetailMapper xlCustomerAftersaleDetailMapper;
	
	@Override
	public List<XlCustomerAftersaleDetail> selectByMainId(String mainId) {
		return xlCustomerAftersaleDetailMapper.selectByMainId(mainId);
	}

	@Override
	public List<AfterOrderImportVO> selectExitAfterOrderOfUpcCode(String targetData){
		return baseMapper.selectExitAfterOrderOfUpcCode(targetData);
	};
}
